Search found 531 matches: zero

Return to advanced search

Re: MQTT xHarbour

#Include "WPRAMQTT.CH" #DEFINE MQTTLIB "paho-mqtt3c.dll" #DEFINE DLL_OSAPI 0x0020 // __stdcall #DEFINE NULL Nil Static nHandle Static ConnLost , MsgArrvd, Delivered Function WPRA101_MQTT() Local nResult if !file( MQTTLIB ) Vt_Aviso("Arquivo " + MQTTLIB + " não loca...
by lzanardo
Thu May 23, 2024 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MQTT xHarbour
Replies: 7
Views: 319

simulate read of a get

... enter the data before proceeding sample @ 1,10 get aGet[1[ VAR nVar SIZE 100,20 of oDlg I tryed with VALID If( nvar=0, ( MsgInfo( "cannot be zero" ), .f. ) ,) but not run ok on this forum not found any sample or test can help me
by Silvio.Falconi
Tue May 14, 2024 7:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate read of a get
Replies: 2
Views: 133

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: 234

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: 234

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: 234

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: 391

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: 462

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: 2380

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: 2380

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: 2380

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: 1469

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: 2380

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: 1469

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: 1215

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: 8519
Next

Return to advanced search