this is the function code in "memvars.c" of Harbour
HB_FUNC( __MVSETBASE )
{
HB_STACK_TLS_PRELOAD
HB_ISIZ nOffset = hb_stackBaseProcOffset( 0 );
if( nOffset > 0 )
hb_stackItem( nOffset )->item.asSymbol.stackstate->nPrivateBase =
hb_memvarGetPrivatesBase();
}
Search found 27 matches: noffset
Searched query: noffset
- Wed Jan 11, 2023 6:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to create a PRIVATE variable owned by the caller?
- Replies: 21
- Views: 2371
- Sat Jan 22, 2022 4:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SQL 2 Table Question
- Replies: 2
- Views: 355
SQL 2 Table Question
... when "navigate" in Table
---
when using ADO i get a Record-Set from Table sqldata
but how "sync" Table sqlindex when have cFor, cWhile and nOffset ... or will it be "in Sync"
or do i need a (internal) FIELD __Record in both Table to "sync"
---
as i know "older" SQL Version can create a ...
---
when using ADO i get a Record-Set from Table sqldata
but how "sync" Table sqlindex when have cFor, cWhile and nOffset ... or will it be "in Sync"
or do i need a (internal) FIELD __Record in both Table to "sync"
---
as i know "older" SQL Version can create a ...
- Wed May 06, 2020 5:42 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: #Define mutiline
- Replies: 15
- Views: 1784
Re: #Define mutiline
Dear Mr. Rao,
I can't find out a way for the first button to define.
I tried this but with no success.
iif( VALTYPE( oBtn) = "C", ( nOffset += 5 + oBtn:nwidth ), nOffset )
So I ended up using 2 xTranslate.
#xtranslate NEXTBTN <prompt> ACTION <uaction> => ; nOffset += 5 + oBtn:nwidth ;; @ ( ...
I can't find out a way for the first button to define.
I tried this but with no success.
iif( VALTYPE( oBtn) = "C", ( nOffset += 5 + oBtn:nwidth ), nOffset )
So I ended up using 2 xTranslate.
#xtranslate NEXTBTN <prompt> ACTION <uaction> => ; nOffset += 5 + oBtn:nwidth ;; @ ( ...
- Wed May 06, 2020 12:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: #Define mutiline
- Replies: 15
- Views: 1784
Re: #Define mutiline
... SwapRow( oBrw, .f. )
@ ( oDlg:nHeight - 30 )/2.05, 50 BUTTON "MoveDn" SIZE 35,12 PIXEL OF oDlg ACTION SwapRow( oBrw, .t. )
#DEFINE COLOFFSETBTN nOffset += 5 + oBtn:nwidth
#define MYBTN @ ( oDlg:nHeight - 30 )/2.05, nOffset BUTTON oBtn PROMPT
COLOFFSETBTN
MYBTN "MoveDn" PIXEL OF oDlg ACTION ...
@ ( oDlg:nHeight - 30 )/2.05, 50 BUTTON "MoveDn" SIZE 35,12 PIXEL OF oDlg ACTION SwapRow( oBrw, .t. )
#DEFINE COLOFFSETBTN nOffset += 5 + oBtn:nwidth
#define MYBTN @ ( oDlg:nHeight - 30 )/2.05, nOffset BUTTON oBtn PROMPT
COLOFFSETBTN
MYBTN "MoveDn" PIXEL OF oDlg ACTION ...
- Sun Oct 22, 2017 4:40 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 6992
Re: funciones de FWH y Harbour en un archivo .txt
... cNewString
StrDiff(<cString1>,<cString2>,[<nReplace>],[<nDelete>],[<nInsert>])->nSimilarity
StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten
StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString
StringToLiteral(<cString>)->cLiteralString
StrOccurs(<cSub ...
StrDiff(<cString1>,<cString2>,[<nReplace>],[<nDelete>],[<nInsert>])->nSimilarity
StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten
StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString
StringToLiteral(<cString>)->cLiteralString
StrOccurs(<cSub ...
- Sat Oct 21, 2017 8:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 6992
Re: funciones de FWH y Harbour en un archivo .txt
... cNewString
StrDiff(<cString1>,<cString2>,[<nReplace>],[<nDelete>],[<nInsert>])->nSimilarity
StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten
StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString
StringToLiteral(<cString>)->cLiteralString
StrOccurs(<cSub ...
StrDiff(<cString1>,<cString2>,[<nReplace>],[<nDelete>],[<nInsert>])->nSimilarity
StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten
StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString
StringToLiteral(<cString>)->cLiteralString
StrOccurs(<cSub ...
- Sat Oct 21, 2017 8:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 6992
Re: funciones de FWH y Harbour en un archivo .txt
... lDeleted
FileMove(<cSourceFile>,<cTargetFile>)->nErrorCode
FileReader(<cFileName>,[<nMode>])->oTStreamFileReader
FileScreen(<cFileName>,[<nOffSet>])->nBytesRead
FileSize([<cFileName>],[<nAttributes>])->nFileSize
FileStats(<cFileName>,[@<cFileAttr>],[@<nFileSize>],[@<dCreateDate ...
FileMove(<cSourceFile>,<cTargetFile>)->nErrorCode
FileReader(<cFileName>,[<nMode>])->oTStreamFileReader
FileScreen(<cFileName>,[<nOffSet>])->nBytesRead
FileSize([<cFileName>],[<nAttributes>])->nFileSize
FileStats(<cFileName>,[@<cFileAttr>],[@<nFileSize>],[@<dCreateDate ...
- Wed Jan 18, 2017 7:01 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Felices reyes!
- Replies: 60
- Views: 24560
Re: Felices reyes!
... Con respecto al codigo de barras nunca he manejado esto necesitaria documentarme.
pero generas el codigo de barras con esta instruccion.
:CmSay( nOffset + 13.5, 8.9, i2of5Encode( i2Of5('30666666666009000466110123456789'+DtoS(Date()) ) ), oFont2of5 )
dicha barra que genera la puede leer cualquier ...
pero generas el codigo de barras con esta instruccion.
:CmSay( nOffset + 13.5, 8.9, i2of5Encode( i2Of5('30666666666009000466110123456789'+DtoS(Date()) ) ), oFont2of5 )
dicha barra que genera la puede leer cualquier ...
- Wed Jan 18, 2017 6:31 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Felices reyes!
- Replies: 60
- Views: 24560
Re: Felices reyes!
... Con resoecto al codigo de barras nunca he manejado esto necesitaria documentarme.
pero generas el codigo de barras con esta instruccion.
:CmSay( nOffset + 13.5, 8.9, i2of5Encode( i2Of5('30666666666009000466110123456789'+DtoS(Date()) ) ), oFont2of5 )
dicha barra que genera la puede leer cualquier ...
pero generas el codigo de barras con esta instruccion.
:CmSay( nOffset + 13.5, 8.9, i2of5Encode( i2Of5('30666666666009000466110123456789'+DtoS(Date()) ) ), oFont2of5 )
dicha barra que genera la puede leer cualquier ...
- Tue Jan 27, 2015 1:58 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: create an arra from txt file
- Replies: 7
- Views: 2789
Re: create an arra from txt file
... default
FRead()
Reads characters from a binary file into a memory variable.
Syntax
FRead( <nFileHandle>, ;
@<cBuffer> , ;
<nBytes> , ;
[<nOffset>] ) --> nBytesRead
Arguments
<nFileHandle>
This is a numeric file handle returned from function FOpen() or FCreate().
@<cBuffer>
A memory ...
FRead()
Reads characters from a binary file into a memory variable.
Syntax
FRead( <nFileHandle>, ;
@<cBuffer> , ;
<nBytes> , ;
[<nOffset>] ) --> nBytesRead
Arguments
<nFileHandle>
This is a numeric file handle returned from function FOpen() or FCreate().
@<cBuffer>
A memory ...
- Thu May 09, 2013 6:39 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Nuevo Grupo en Ribbonbar (Solucionado)
- Replies: 7
- Views: 1425
Re: Nuevo Grupo en Ribbonbar
... n ], GetTextWidth( 0, StrTran( ::aPrompts[ n ], "&", "" ), ::oFont:hFont ) + TXTLPAD + TXTRPAD, 0) )
next
if Len( ::aLeft ) > 0
::aLeft[ ::nOffSet ] = ::nLeftMargin
endif
for n = ::nOffSet + 1 to Len( ::ASizes )
::aLeft[ n ] = ::aLeft[ n - 1 ] + ::aSizes[ n - 1 ] + If( ::aVisible[n - 1 ...
next
if Len( ::aLeft ) > 0
::aLeft[ ::nOffSet ] = ::nLeftMargin
endif
for n = ::nOffSet + 1 to Len( ::ASizes )
::aLeft[ n ] = ::aLeft[ n - 1 ] + ::aSizes[ n - 1 ] + If( ::aVisible[n - 1 ...
- Fri Jan 25, 2013 2:02 pm
- Forum: FiveWin for CA-Clipper
- Topic: progress bar
- Replies: 2
- Views: 3832
progress bar
... heat_update() // Date : 10/11/12
// Use : Assemble Q:\data folder and file information
// for millcerts
local aFolders
local nFol_len
local nOffset := 3 // set at 3 to bypass . & .. parent <dir>
local nIndex := 1
local cFol_nam
local nFol_max
local aSub_Fldr
local nSub_max := 0
local nSub ...
// Use : Assemble Q:\data folder and file information
// for millcerts
local aFolders
local nFol_len
local nOffset := 3 // set at 3 to bypass . & .. parent <dir>
local nIndex := 1
local cFol_nam
local nFol_max
local aSub_Fldr
local nSub_max := 0
local nSub ...
- Mon Aug 24, 2009 9:16 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: funcion AT() error
- Replies: 2
- Views: 504
Re: funcion AT() error
Hola Manolo, en teoria el tercer parametro (nOffSet), no existe en Harbour, donde si existe es en xHarbour. De todas formas si quieres usar harbour y el parametro nOffSet, cambia la función y usa Hb_AT(), que si incorpora ese parametro adicional.
- Mon Aug 24, 2009 7:53 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: funcion AT() error
- Replies: 2
- Views: 504
funcion AT() error
... build 1.1-1 Intl. no me lo estaba dando en la funcion at
Me dice número incorrecto de parametros en esta linea:
nPos := INT( AT( cDato, cData, nOffset ))
no se si se ha cambiado o hecho otra función para hacer esto. lo que necesito es que me devuelva la posición de una cadena buscada a partir ...
Me dice número incorrecto de parametros en esta linea:
nPos := INT( AT( cDato, cData, nOffset ))
no se si se ha cambiado o hecho otra función para hacer esto. lo que necesito es que me devuelva la posición de una cadena buscada a partir ...
- Tue May 12, 2009 12:46 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Funccion AT() en Harbour y xHarbour
- Replies: 2
- Views: 425
Funccion AT() en Harbour y xHarbour
Hola a todos,
He visto que la función AT() puede tener la siguiente sintaxis:
AT( suchbeg, cData, nOffset )
esta sintáxis no me la acepta bajo Harbour al no contemplar el tercer parámetro; alguién sabe cómo puedo simular el uso del tercer parámetro en Harbour?
Un saludo y gracias.
Carlos .
He visto que la función AT() puede tener la siguiente sintaxis:
AT( suchbeg, cData, nOffset )
esta sintáxis no me la acepta bajo Harbour al no contemplar el tercer parámetro; alguién sabe cómo puedo simular el uso del tercer parámetro en Harbour?
Un saludo y gracias.
Carlos .