Search found 29 matches: nmin

Return to advanced search

Re: chatGPT writes and executes Harbour code !!!

... NEXT   NEXT   RETURN aTmp  this the function calc distance FUNCTION distance(n1, n2, n3)   local  nMin := n1   local  nMax := n1   local nTemp   IF n2 < nMin      nMin := n2   ENDIF  ...
by Silvio.Falconi
Wed Dec 21, 2022 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 4458

Re: New FTDN January/Enero 2021 (FWH 21.01)

Enero 2021 ========== * Mejoras en la clase TGET: - Nueva cláusula para obtener variables de texto VarChar (longitud variable) VARCHAR {nMin, nMax}. El usuario puede añadir texto hasta nMax caracteres independientemente de la longitud de la cadena de entrada. El Get finalmente devuelve un ...
by Antonio Linares
Sun Feb 07, 2021 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2058

New FTDN January/Enero 2021 (FWH 21.01)

January 2021 ============ * TGET enhancements: - New clause for getting VarChar text variables (variable length) VARCHAR { nMin, nMax } User can enter text upto nMax characters irrespective of the length of the input string. Get finally returns a text with length between nMin and nMax ...
by Antonio Linares
Sun Feb 07, 2021 9:10 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2058

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... aArray ) CONSTRUCTOR METHOD Identity( nSize ) CONSTRUCTOR // --> Matriz Identity de filas nSize y columnas nSize. METHOD Random( nRows, nCols, nMin, nMax, lInteger ) CONSTRUCTOR // nMin y nMax por defecto -1 y +1 Devuelve una matriz con tamaño nRows, nCols con cada elemento inicializado con ...
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 4468

New FTDN December/Diciembre 2020 (FWH 20.12)

... aArray ) CONSTRUCTOR METHOD Identity( nSize ) CONSTRUCTOR // --> Identity matrix of nSize rows and nSize cols. METHOD Random( nRows, nCols, nMin, nMax, lInteger ) CONSTRUCTOR nMin and nMax default to -1 and +1 Returns a matrix with size nRows,nCols with each element initialized with a random ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 4468

Re: FWH: Support for Matrix calculations

... aArray ) CONSTRUCTOR METHOD Identity( nSize ) CONSTRUCTOR // --> Identity matrix of nSize rows and nSize cols. METHOD Random( nRows, nCols, nMin, nMax, lInteger ) CONSTRUCTOR nMin and nMax default to -1 and +1 Returns a matrix with size nRows,nCols with each element initialized with a random ...
by nageswaragunupudi
Thu Dec 10, 2020 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Support for Matrix calculations
Replies: 3
Views: 864

Re: RANGO DE VALORES DE Y EN TGRAH

... muestran en el EJE Y (verticalmente), inicien en 0 y de 500 en 500 hasta el valor maximo de la data. Ya consegui quien manipula esa informacion, nMin y nMax, nMin toma el valor minimo de la DATA mas alta y nMax el valor mas alto, y entonces crea los rangos de Y, haciendo nMin++ hasta nMax, yo ...
by joseluisysturiz
Tue Jul 23, 2019 9:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RANGO DE VALORES DE Y EN TGRAH
Replies: 23
Views: 3886

Re: Dates behave different with Sql systax ?

... syntax is more comfortable you can use the harbour hb_DateTime() function to create a datetime variable. hb_DateTime( nYear, nMonth, nDay, nHour, nMin, nSec, nMill ) // I believe the last argument is milliseconds. The source file rtl\dateshb.c has a fair number of datetime related functions, it ...
by rhlawek
Mon Jan 09, 2017 11:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dates behave different with Sql systax ?
Replies: 4
Views: 2200

Re: Scroll Box

... ::lVertical, SB_VERT, SB_HORZ ), SB_CTL )   *   IF ::lThumbResize      SetInfoScroll( hWnd , ::nMin, ::nMin, ::nMax, ::nPgStep, nFlag, .T. )      ::nMaxPos := ::nMax-::nPgStep   ELSE      ::nMaxPos := ...
by antolin
Fri Sep 19, 2014 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Scroll Box
Replies: 19
Views: 3115

Re: Progress Bars, no funciona correctamente.

... was, to 100% hit. Saludos Boa noite a todos Continuo sem entender!!! Na classe tProgress nao existe data nValue CLASS TProgress FROM TControl DATA nMin, nMax, nPos, nStep AS NUMERIC nMin --> Ok nMax --> Ok nValue ? Como ficaria isso ? function Main() local oDlg, oProg1, oProg2 local aVetor ...
by marca
Tue Jul 22, 2014 10:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Progress Bars, no funciona correctamente (Solucionado)
Replies: 27
Views: 6295

HScroll y VSroll con tsBrowse

... y ya no me trabaja los sroll V y H. la definicion de las barras en ambas de scroll estan de acuerdo al fwh: ::oVScroll := TScrollBar():WinNew( nMin, nMax, nPage, .T., Self ) ::oHScroll := TScrollBar():WinNew( nMin, nMax, , .F., Self ) Alguien que haya resuelto este detalle?
by noe aburto
Wed Aug 21, 2013 10:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: HScroll y VSroll con tsBrowse
Replies: 10
Views: 1327

Re: Problem with seconds

nOrePresenza:= (nSecTeoriche-nSecFlNeg) /60/60 nMin := Int ( nOrePresenza *60/100) cHour := Str ( Int(nOrePresenza), Lennum (Int(nOrePresenza)) ) cMin := StrZero (nMin,2)) cTime := cHour+":"+cMin gives you 148:58 strange give me 148:89 ...
by Silvio.Falconi
Mon Nov 19, 2012 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with seconds
Replies: 3
Views: 695

Re: Problem with seconds

nOrePresenza:= (nSecTeoriche-nSecFlNeg) /60/60
nMin := Int ( nOrePresenza *60/100)

cHour := Str ( Int(nOrePresenza), Lennum (Int(nOrePresenza)) )
cMin := StrZero (nMin,2))

cTime := cHour+":"+cMin

gives you 148:58
by StefanHaupt
Mon Nov 19, 2012 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with seconds
Replies: 3
Views: 695

dialog dbcombo looping

... oTcomp:cAlias; size 100,250 pixel; itemfield "COD" ; listfield "COMP"; update; @ 3,12 say 'Minimum trip fee - $ ' + trans(nMin,'99.99'); FONT fntArial SIZE 125,25 OF oDlg @ 5, 11 BUTTON "&Calc" OF oDlg SIZE 40, 12 ACTION oDlg:End() //Say( 6, 2, cOrg + ' / ...
by brewster
Sun Sep 02, 2012 1:44 pm
 
Forum: FiveWin for CA-Clipper
Topic: dialog dbcombo looping
Replies: 3
Views: 2821

Re: xbrowse : sporadic error

... is empty. With this corection we have ::aDisplay[1] , it should also give a error. The translate : #xtranslate MinMax( <xValue>, <nMin>, <nMax> ) => Min( Max( <xValue>, <nMin> ), <nMax> ) doesn't work when for some reason nMax < nMin , the translate ...
by Demont Brecht
Sun Nov 06, 2011 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse : sporadic error
Replies: 19
Views: 4610
Next

Return to advanced search