Search found 4062 matches: variable

Return to advanced search

Re: Detectar slato de línea en una variable.

Puedes recorrer el texto y buscar los saltos #include "FiveWin.ch"FUNCTION Main()Local cText := memoread( 'texto.txt' ), i, aResult := {}, cLine := ''FOR i := 1 TO LEN(cText)    IF SUBSTR(cText,i,1) == CHR(13)      ...
by cmsoft
Fri May 10, 2024 12:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Detectar slato de línea en una variable.
Replies: 2
Views: 49

Re: Detectar slato de línea en una variable.

C:\FWH\SOURCE\CLASSES\TTXTFILE.PRG
by karinha
Fri May 10, 2024 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Detectar slato de línea en una variable.
Replies: 2
Views: 49

Detectar slato de línea en una variable.

Hola todos, Estoy intentado detectar el salto de línea en un texto que está en una variable, lo hago así: // CRLF Chr(13)+Chr(10) If At( Chr(13), aTextLines[nLenaTextLines] ) > 0 o If At( Chr(10), aTextLines[nLenaTextLines] ) > 0 Pero no hay manera. Ustedes ...
by FiveWiDi
Fri May 10, 2024 11:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Detectar slato de línea en una variable.
Replies: 2
Views: 49

Re: Erro Expor to Excel in xbrowse

... 1882 of your function popmenu_dfe(). This is your function but not FWH function. In your function popmenu_dfe, at line 1882, Self is used and this variable does not exist. Please recheck your function popmenu_dfe
by nageswaragunupudi
Fri May 10, 2024 12:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Erro Expor to Excel in xbrowse
Replies: 2
Views: 77

Recuperacion de valor en XBROWSER

... { || msginfo(oBrw:aCols[1]:value) }return nil  Pero quisiera asignar el valor de la primera columna seleccionada a una variable y cerrar el XBROWSER. Podrian indicarme como se hace? Saludos Juan Jose
by juanjogascem
Wed May 08, 2024 7:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recuperacion de valor en XBROWSER
Replies: 3
Views: 90

Re: hb_getEnv("PRGPATH")

... Windows API SetEnvironmentVariable() docs: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable The operating system creates the environment variable if it does not exist This function has no effect on the system environment variables ...
by Antonio Linares
Wed May 08, 2024 1:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_getEnv("PRGPATH")
Replies: 8
Views: 148

Re: hb_getEnv("PRGPATH")

... Please can you help me once again to understand... it says hbSetEnv("PRGPATH") but then in the "official" environment variables of my windows system i can´t see it. maybe it is stored somewhere else? and also i wondered what would happen if accidentally I would have ...
by Ruth
Tue May 07, 2024 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_getEnv("PRGPATH")
Replies: 8
Views: 148

Re: hb_getEnv("PRGPATH")

Dear Ruth,

mod_harbour automatically sets that environment variable :-)
by Antonio Linares
Tue May 07, 2024 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_getEnv("PRGPATH")
Replies: 8
Views: 148

Re: hb_getEnv("PRGPATH")

You can set any environment variables under “New”; CONFIG and HARBURCMD are only listed as examples in the documentation, so you won't find them on your PC. If you want to set the variable PRGPATH, you can do it there with "New". ...
by alerchster
Tue May 07, 2024 2:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_getEnv("PRGPATH")
Replies: 8
Views: 148

hb_getEnv("PRGPATH")

... using hb_getEnv("PRGPATH") and it works very nicely. Could someone please be so kind as to explain to me where this environment variable is being set or coming from? It doesn´t seem to come directly from my machine... I tried what ChatGPT suggested to me ... but echo %PRGPATH" ...
by Ruth
Tue May 07, 2024 12:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_getEnv("PRGPATH")
Replies: 8
Views: 148

xbrowse (likely a custom table) whose contents change dynam

... then be assigned to the HASH and sent back to the client. hData['data'] := here is the result of the e.g. filter evaluation Detailed Explanation Variable Initialization: hData: A hash to store the response data. hPost: A hash to store the decoded JSON body from the request. nIdx: An index variable ...
by Otto
Sat May 04, 2024 7:42 am
 
Forum: mod_harbour
Topic: xbrowse (likely a custom table) whose contents change dynam
Replies: 0
Views: 63

Re: Silvo .. changes to your xMate environment

   /a /m /n /gc3 /w3 /es2  Using these FLAGS, the compiler does not miss any error COMMAS, if you declare a variable and do not use it, the compilation will not pass. Incredible. It's a lot of work, but it's worth it, as your code is super clean of errors. Usando estas BANDERAS ...
by Silvio.Falconi
Tue Apr 30, 2024 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Silvo .. changes to your xMate environment
Replies: 26
Views: 346

Re: Silvo .. changes to your xMate environment

   /a /m /n /gc3 /w3 /es2  Using these FLAGS, the compiler does not miss any error COMMAS, if you declare a variable and do not use it, the compilation will not pass. Incredible. It's a lot of work, but it's worth it, as your code is super clean of errors. Usando estas ...
by karinha
Tue Apr 30, 2024 6:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Silvo .. changes to your xMate environment
Replies: 26
Views: 346

Re: SetMultiSelectCol() on line

... ? yes allready saw it compile this test without :SetMultiSelectCol() you'll see this error Error description: Error BASE/1005 No exported variable: LREADONLY Args: [ 1] = U [ 2] = L .T. Stack Calls =========== Called from: xbmulsel.prg => _LREADONLY( 0 ) Called from: xbmulsel.prg => ...
by Silvio.Falconi
Tue Apr 23, 2024 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetMultiSelectCol() on line
Replies: 5
Views: 226

Re: WhatsApp tests

Antonio, https://i.postimg.cc/WbG22VvP/g.gif I make a small test but I have allways errors Error description: Error BASE/1003 Variable does not exist: AATTACH My test #include "fivewin.ch"#include 'constant.ch'Function test()Local oDlg,oFont,oBoldlocal aGet:=array(10)local ...
by Silvio.Falconi
Wed Apr 17, 2024 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WhatsApp tests
Replies: 9
Views: 411
Next

Return to advanced search

cron