Calculator in Get
- Antonio Linares
- Site Admin
- Posts: 42404
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- jose_murugosa
- Posts: 1182
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Contact:
Re: Calculator in Get
Antonio Linares wrote:Developed by Timm Sodtalbers:
http://hyperupload.com/download/02dbcac ... c.zip.html
Antonio, no he podido acceder al link.
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
- Antonio Linares
- Site Admin
- Posts: 42404
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- jose_murugosa
- Posts: 1182
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Contact:
-
- Posts: 25
- Joined: Sat Oct 08, 2005 6:44 am
- Location: Aurich, Germany
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42404
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
- jose_murugosa
- Posts: 1182
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Contact:
Tim,
It is a nice contribution, thanks!!!
Just one thing:
For recent versions of fivewin (tget is modified) you will need to comment this lines or result wil be wrong.
Code: Select all | Expand
FUNCTION SC_FormulaString( oGet )
............
/*
IF nLastKey <> 8
cBuffer := STUFF( cBuffer, oGet:nPos, 0, CHR( nLastKey ) )
ENDIF
*/
............
Thanks again!!
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
- karinha
- Posts: 7916
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Calculator in Get
Maestro, que error és este?
Gracias, saludos.
Code: Select all | Expand
Application
===========
Path and name: c:\FWH1306\samples\GETCALC.exe (32 bits)
Size: 2,438,656 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20130422)
FiveWin Version: FWHX 13.05
Windows version: 6.1, Build 7601 Service Pack 1
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 05/23/14, 11:34:25
Error description: Error BASE/1004 Class: 'NIL' has no exported method: OGET
Args:
[ 1] = U
Stack Calls
===========
Called from: => OGET( 0 )
Called from: GETCALC.prg => SHOWCALCULATOR( 48 )
Gracias, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Antonio Linares
- Site Admin
- Posts: 42404
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
Re: Calculator in Get
Joao,
Que código hay en esta línea ?
Called from: GETCALC.prg => SHOWCALCULATOR( 48 )
Que código hay en esta línea ?
Called from: GETCALC.prg => SHOWCALCULATOR( 48 )
- wilsongamboa
- Posts: 601
- Joined: Wed Oct 19, 2005 6:41 pm
- Location: Quito - Ecuador
Re: Calculator in Get
LOCAL cBuffer := oCurGet:oGet:Buffer
saludos
Wilson
saludos
Wilson
Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
Wilson.josenet@gmail.com
- Antonio Linares
- Site Admin
- Posts: 42404
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 12 times
- Been thanked: 48 times
- Contact:
Re: Calculator in Get
Una posible solución seria (a falta de saber porque ese valor llega nil):
LOCAL cBuffer := If( oCurGet != nil, oCurGet:oGet:Buffer, "" ) // ó nil, según se necesite
LOCAL cBuffer := If( oCurGet != nil, oCurGet:oGet:Buffer, "" ) // ó nil, según se necesite
- karinha
- Posts: 7916
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Calculator in Get
Antonio Linares wrote:Una posible solución seria (a falta de saber porque ese valor llega nil):
LOCAL cBuffer := If( oCurGet != nil, oCurGet:oGet:Buffer, "" ) // ó nil, según se necesite
Maestro, también no funciona.
Resuelto asi:
viewtopic.php?f=6&t=28497
Gracias, salu2.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341