Search found 46 matches: nmax

Return to advanced search

Re: chatGPT writes and executes Harbour code !!!

... 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   IF n3 < nMin    ...
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: 4492

Re: search highest digit in the array

Silvio,

if you want to have the last of same values you must change only one line of my function.

if aVals[nR, nC] >= nMax // instead of only "="
by Detlef
Thu Mar 10, 2022 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: search highest digit in the array
Replies: 7
Views: 658

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 texto ...
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: 2076

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

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

... ) 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 un valor ...
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: 4497

New FTDN December/Diciembre 2020 (FWH 20.12)

... ) 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 value ...
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: 4497

Re: FWH: Support for Matrix calculations

... ) 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 value ...
by nageswaragunupudi
Thu Dec 10, 2020 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Support for Matrix calculations
Replies: 3
Views: 869

Re: RANGO DE VALORES DE Y EN TGRAH

... 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 necesito ...
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: 3902

RANGO DE VALORES DE Y EN TGRAH

... que los valores de Y sean de 500 en 500, ya que veo que lo que haces es colocar los valores de la DATA hasta el de valor maximo, probe con nMax y no hace nada, alguna idea.? saludos...gracias... :shock:
by joseluisysturiz
Sun Jul 21, 2019 11:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RANGO DE VALORES DE Y EN TGRAH
Replies: 23
Views: 3902

Re: Import Chinese Characters from XLS

... := "" , ; dDateChk := DATE()-365 , ; nAdded := 0 , ; nTotrec := 0 , ; nError := 0 , ; oExcel, oSheet , ; nX1 := 0 , ; nX2 := 0 , ; nMax := 65000 , ; lCont := .F. , ; lShow := .T. , ; nUpdated := 0 , ; lSource := .F. , ; cSource := "language.xlsx" , ; cDrive := DISKNAME() ...
by cdmmaui
Thu Feb 21, 2019 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import Chinese Characters from XLS
Replies: 4
Views: 1096

Re: Utilizar funciones de una dll con harbour

... Harbour nativo. Cristobal, el código ppo de la opcion que me sugieres, hecha mano de FWCallDLL y GetProcAdd de FW function GetTextW( nHandle,cT,nMax ) ; local _hDLL := If( ValType( "user32.dll" ) == "N", "user32.dll", LoadLibrary( "user32.dll" ) ) ; local ...
by Xevi
Mon Dec 10, 2018 8:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Utilizar funciones de una dll con harbour
Replies: 6
Views: 1435

Re: Harbour for the web

... cWid := "100" cHgt := "100" cComp := "" lLink := .F. cLastD := "" cLastT := "" nRowMax := nMax nRowCnt := 0 cUID := _ParamRead( cQueryString, "LINK=", @lLink ) nRecId := VAL( _ParamRead( cQueryString, "ID=" ) ) cMode := ...
by cdmmaui
Sun Aug 12, 2018 12:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour for the web
Replies: 12
Views: 5256

MS SQL Dumb Question

... := "" , ; n001H := 0 , ; nE := 0 , ; nW := 0 , ; nX := 0 , ; nX0 := 0 , ; nX7 := 0 , ; nX8 := 0 , ; nX9 := 0 , ; nY := 0 , ; nZ := 0 , ; nMax := 100 , ; nW1 := 0 , ; cShipno := "" , ; cTaxid := "" , ; cResponse := "" , ; cAesitn := "" , ; cTxdate ...
by cdmmaui
Tue May 10, 2016 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS SQL Dumb Question
Replies: 0
Views: 437

Re: FiveWeb

... cWid := "100" cHgt := "100" cComp := "" lLink := .F. cLastD := "" cLastT := "" nRowMax := nMax // 13 nRowCnt := 0 IF 'LINK=' $ cQueryString lLink := .T. lStart := .F. cUID := '' FOR nX=1 TO LEN( cQueryString ) cChar := SUBSTR( cQueryString, ...
by cdmmaui
Sun Jan 25, 2015 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWeb
Replies: 71
Views: 18622

Re: Scroll Box

... scrolls dimensionados con SetScrollInfo(), es que cuando movemos el scroll con el thumb para saber su posición máxima me sirve el nuevo oVSCroll:nMax (que es el antiguo nMax + nPgStep), pero cuando movemos el Scroll con los demás controles hay que utilizar el nuevo nMax-nPgStep, es decir el antiguo ...
by antolin
Fri Sep 19, 2014 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Scroll Box
Replies: 19
Views: 3116
Next

Return to advanced search