Search found 10 matches

by hhr
Nov 24, 2020 17:39
Forum: Linux
Topic: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5
Replies: 22
Views: 3551

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Look at FreeBASIC/readme.txt... Linux Mint, lubuntu, xubuntu: readme.txt: sudo apt install gcc libncurses5-dev libffi-dev libgl1-mesa-dev sudo apt install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxpm-dev Furthermore: sudo apt install libncurses5 readme.txt: sudo apt install gcc-multili...
by hhr
Nov 06, 2020 7:50
Forum: Windows
Topic: [solved]Any XP user here ?
Replies: 4
Views: 383

Re: Any XP user here ?

min: 1 max: 1000000
by hhr
Oct 22, 2020 10:15
Forum: Linux
Topic: SETENVIRON
Replies: 16
Views: 792

Re: SETENVIRON

Thank you. Output in Linux:

Code: Select all

123       Len=3
          Len=0
by hhr
Oct 22, 2020 8:56
Forum: Linux
Topic: SETENVIRON
Replies: 16
Views: 792

Re: SETENVIRON

I don't understand 'never be modified': Dim As String MYCOUNT,envStr MYCOUNT="123" envStr="COUNT=" + MYCOUNT Setenviron(envStr) Print Environ("COUNT") MYCOUNT="ABCDEF" envStr="COUNT=" + MYCOUNT Setenviron(envStr) Print Environ("COUNT") Sleep
by hhr
Oct 22, 2020 6:58
Forum: Linux
Topic: SETENVIRON
Replies: 16
Views: 792

Re: SETENVIRON

Setenviron("COUNT=123") Print Environ("COUNT") Const As String MYCOUNT1="456" Setenviron("COUNT=" + MYCOUNT1) Print Environ("COUNT") Dim As String MYCOUNT2="789" Dim As String envStr="COUNT=" + MYCOUNT2 Setenviron(envStr) Print E...
by hhr
Oct 06, 2020 19:30
Forum: Beginners
Topic: Convert vbscript to FB
Replies: 4
Views: 399

Re: Convert vbscript to FB

Look at https://github.com/JoseRoca/WinFBX There is a green button called 'Code'. Download the zip-file, extract it and copy the Afx-folder into the inc-folder of FreeBASIC. Then try #Include once "Afx\CWindow.inc" Dim As Integer num1, num2 num1 = Valint(AfxInputBox(0, 0, 0, , "Enter ...
by hhr
Sep 24, 2020 6:30
Forum: Windows
Topic: Unwanted closing of console
Replies: 3
Views: 267

Re: Unwanted closing of console

Try PAUSE command in the bat-file.
by hhr
Aug 17, 2020 19:30
Forum: Beginners
Topic: #Define vs Const
Replies: 8
Views: 697

Re: #Define vs Const

@Dodicat
Can it be the conversion Long-Double?
by hhr
Jul 06, 2020 16:53
Forum: Libraries
Topic: mpdecimal for Windows
Replies: 9
Views: 1021

Re: mpdecimal for Windows

''============================================================================= #include "mpdecimal.bi" 'we need to initialize mpd_context before including the overloded operators Dim Shared As mpd_context_t mpd_context mpd_init(@mpd_context, 8) #include "mpdoverload.bi" 'mpdeci...
by hhr
Feb 18, 2020 20:21
Forum: Beginners
Topic: How to get the Documents folder of the current Windows user.
Replies: 13
Views: 1172

Re: How to get the Documents folder of the current Windows user.

Print Environ("userprofile") 'Home directory in Windows Print Environ("userprofile") & "\Documents" 'Append the name of the folder Sleep #include once "win/shlobj.bi" Dim As Zstring*MAX_PATH pszPath,pszSubDir="" SHGetFolderPathAndSubDirA(0,CSIDL...

Go to advanced search