Search found 529 matches: zero

Return to advanced search

Re: len an array

give me 1 instead of zero Because that is the correct answer. aLines  := HB_ATokens( "one", "|" )? aLines // -> { "one" } I not Know how I Have on String now I made aLines := hb_ATokens( cString,"|" ...
by Silvio.Falconi
Mon May 06, 2024 11:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: len an array
Replies: 5
Views: 174

Re: len an array

give me 1 instead of zero

Because that is the correct answer.

Code: Select all  Expand view
aLines  := HB_ATokens( "one", "|" )
? aLines // -> { "one" }
by nageswaragunupudi
Mon May 06, 2024 11:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: len an array
Replies: 5
Views: 174

len an array

local cString:=""
aLines := hb_ATokens( cString,"|" )

?len(aLines)


give me 1 instead of zero

why ?
by Silvio.Falconi
Mon May 06, 2024 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: len an array
Replies: 5
Views: 174

ayuda con uso de hb_xfree

Dado este código     case SQL_CHAR: {      char *szResult = (char *) hb_xgrab(lLen + 1); //crea var string zero de un tamaño lLen      hb_xmemset(szResult, ' ', lLen); //rellena de espacios      szResult[lLen] = '\0'; //define fin de cadena      hb_itemPutCLPtr(pItem, ...
by carlos vargas
Sun Apr 28, 2024 2:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 219

FWHMYSQL Insert failing

Dear Friends, I'm having a huge problem with Insert/MySql. I have a Decimal field where I'm tryng to save the value 1(one), but it's saved as 0(zero). Bellow i'm showing a little sample where the problem is happening. function Main()LOCAL oCn, oAnt,nValInss,nValIn13,aVal,cvd_500   FW_SetUnicode( ...
by vilian
Fri Apr 05, 2024 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL Insert failing
Replies: 6
Views: 432

Re: I'm not asking for the moon...

... must be numeric and then not wish "." ( dot separation) but "," (comma separation) then it run if the nvar are all zero if we have the values allready on dbf ? not run
by Silvio.Falconi
Thu Jan 18, 2024 7:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2276

Re: I'm not asking for the moon...

... https://mybergland.com/fwforum/gettest.gif No, you not understood the values are numeric ( 6 digit , 2 decimals) 1. at init see only a zero "0" at Right, so I not must see 0.00 2. when digit 12345 the get must transform to 123,45, not with dot "." but with "," ...
by Silvio.Falconi
Thu Jan 18, 2024 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2276

Re: I'm not asking for the moon...

I need it to determine the Kg of materials and I need have 7 digit with a comma sample 123,45 at init I need to have on Tget only a Zero at right and not 0.00 or 0,00 @ 60,20 GET aGet[2] VAR nVar   SIZE 100,24 PIXEL OF oDlg RIGHT;         VALID   ChangePic( oDlg, aGet )static ...
by Silvio.Falconi
Thu Jan 18, 2024 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2276

Re: Problem with tget numeric

... you don't know how to solve it and you want to find other alternative solutions? I only need a series of numeric gets: at the beginning only a zero must be displayed on the right, if the user types 12345 the procedure must convert to 123.45, if the user types a further numerical figure for ...
by Silvio.Falconi
Wed Jan 17, 2024 5:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tget numeric
Replies: 16
Views: 1445

I'm not asking for the moon... Resolved!!

I'm going crazy and no one is helping me... I have a series of numeric get controls for a little program, I would like only a zero to be displayed at the beginning but the user can type 12345 and the procedure must automatically convert to 123.45 and if the user presses another digit ...
by Silvio.Falconi
Wed Jan 17, 2024 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2276

Re: Problem with tget numeric

... después del punto decimal y luego pasar al otro get. No uso dbf. Obtengo los datos de un navegador y una matriz. Otto you could display only a zero on the right in the get and then if the user types a number for example 1 and then presses the decimal point the procedure must put up to two numbers ...
by Silvio.Falconi
Wed Jan 17, 2024 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tget numeric
Replies: 16
Views: 1445

Re: Question about deleting files and the trash

https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa
Returns zero if successful; otherwise nonzero


so it seems as it is properly doing it...

I can't understand why they don't appear at the recycle bin
by Antonio Linares
Fri Dec 22, 2023 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about deleting files and the trash
Replies: 11
Views: 1195

Re: Using Microsoft AI Phi-2 from FWH

hi, i have change all Property and CODE as advice but can´t create Simple.DLL Die Neuerstellung wurde um 02:50 gestartet... 1>------ Neues Erstellen gestartet: Projekt: ZERO_CHECK, Konfiguration: Release x64 ------ 1>1>Checking Build System 2>------ Neues Erstellen gestartet: Projekt: gg...
by Jimmy
Fri Dec 22, 2023 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8421

Re: Classe TGif

... should start with a byte containing the size of the sub-block, followed by the actual data bytes. The last sub-block should have a size of zero, indicating the end of the image data It should have one or more graphic control extensions that specify the animation parameters of each image ...
by Antonio Linares
Fri Dec 08, 2023 8:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Classe TGif
Replies: 9
Views: 1680

Re: random sentences generator

... sentence ) Tokenizer("The sun rises in the east.") Tokenizer("Cats are furry animals.") Tokenizer("Water freezes at zero degrees Celsius.") Tokenizer("Mars is known as the red planet.") Tokenizer("The moon orbits the Earth.") Tokenizer("Bananas ...
by Antonio Linares
Fri Dec 01, 2023 6:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 716
Next

Return to advanced search