Restored from previous forum. Originally posted by pabform.
I've in the hands a old palmar application, that used DISP in the place of PRINT, and IMAGE in the routine of USED (then hi make a strange formatting code with XXXX.) Nobody knows this kind of sintax?
I'm recompiled with QBASIC, but it don't run: it stop in that word: IMAGE....???
I hope you've understand my question (I'm not a good englesh speaker...
PaoloE
Maybe old sintax code....
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> I'm recompiled with QBASIC, but it don't run: it stop in that word: IMAGE....???
Can you please show us the line from the QBASIC code that has IMAGE in it?
It'll make it easier for us to understand what it's trying to do.
PB - Registered PureBasic Coder
> I'm recompiled with QBASIC, but it don't run: it stop in that word: IMAGE....???
Can you please show us the line from the QBASIC code that has IMAGE in it?
It'll make it easier for us to understand what it's trying to do.
PB - Registered PureBasic Coder
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by pabform.
That's the report of alittle.... but I think you can clear understand wath it mean, I hope so!
==========================================================
6680 IMAGE " G(",DD,")=,DDDD, x, "kg/h"
6690 PRINT (was DISP) "WET BATTERY CONDENSES"; Gw; "kg STEAM /h"
6700 PRINT
6710 FOR J = 1 TO Nw
6720 PRINT USING 6680; G(J)
6730 NEXT J
ecc::::
6920 PRINT USING 6930: Cr
6930 IMAGE " DENSING RATE OF THE ABOVE......SECTION IS",D.DDD,"kgcOND./kgPRODUCED PAPER."
6940 PRINT
6950 PRINT
6960 "THE DRYER EVAPORATES ";EVAP;" kg of moisture per hour."
6970 PRINT USING 6930; Cr
6980 IMAGE " thus we get ";D.DDD," kgCOND./EVAPORATED WATER."
ECC....
===================================================================
I thank you for interest and have a good work
ps: I know that was for the 80 HP series BASIC Programmer Code (1982)
PaoloE
Edited by - pabform on 29 July 2002 16:14:07
That's the report of alittle.... but I think you can clear understand wath it mean, I hope so!
==========================================================
6680 IMAGE " G(",DD,")=,DDDD, x, "kg/h"
6690 PRINT (was DISP) "WET BATTERY CONDENSES"; Gw; "kg STEAM /h"
6700 PRINT
6710 FOR J = 1 TO Nw
6720 PRINT USING 6680; G(J)
6730 NEXT J
ecc::::
6920 PRINT USING 6930: Cr
6930 IMAGE " DENSING RATE OF THE ABOVE......SECTION IS",D.DDD,"kgcOND./kgPRODUCED PAPER."
6940 PRINT
6950 PRINT
6960 "THE DRYER EVAPORATES ";EVAP;" kg of moisture per hour."
6970 PRINT USING 6930; Cr
6980 IMAGE " thus we get ";D.DDD," kgCOND./EVAPORATED WATER."
ECC....
===================================================================
I thank you for interest and have a good work
ps: I know that was for the 80 HP series BASIC Programmer Code (1982)
PaoloE
PaoloE> I'm recompiled with QBASIC, but it don't run: it stop in that word: IMAGE....???
Can you please show us the line from the QBASIC code that has IMAGE in it?
It'll make it easier for us to understand what it's trying to do.
PB - Registered PureBasic Coder
Edited by - pabform on 29 July 2002 16:14:07
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> 6680 IMAGE " G(",DD,")=,DDDD, x, "kg/h"
> 6720 PRINT USING 6680; G(J)
It looks like the PRINT USING command is trying to format the text based on how
the target line is specified. In other words, it appears that line 6720 is trying
to print the value of G(J) in the format specified by line 6680. Line 6680, and
the IMAGE command, sets out how G(J) will be formatted.
This is all just a guess, but I'm 99% sure that I'm right. However, there's no
way to do this in PureBasic yet.
PB - Registered PureBasic Coder
> 6680 IMAGE " G(",DD,")=,DDDD, x, "kg/h"
> 6720 PRINT USING 6680; G(J)
It looks like the PRINT USING command is trying to format the text based on how
the target line is specified. In other words, it appears that line 6720 is trying
to print the value of G(J) in the format specified by line 6680. Line 6680, and
the IMAGE command, sets out how G(J) will be formatted.
This is all just a guess, but I'm 99% sure that I'm right. However, there's no
way to do this in PureBasic yet.
PB - Registered PureBasic Coder
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fweil.
Hello,
I guess you are right PB. I remember coding on old Hewlett Packard computers (20 years ago and more) where Print Using and Image were used together for formatted information display. And this piece of code seems to look like.
The D characters of Image lines correspond to digits of values passed for printing.
I was using HP Basic at that time on 98x5 calculators.
...
Francois Weil
14, rue Douer
F64100 Bayonne
Hello,
I guess you are right PB. I remember coding on old Hewlett Packard computers (20 years ago and more) where Print Using and Image were used together for formatted information display. And this piece of code seems to look like.
The D characters of Image lines correspond to digits of values passed for printing.
I was using HP Basic at that time on 98x5 calculators.
...
Francois Weil
14, rue Douer
F64100 Bayonne
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by pabform.
... (20 years ago and more) where Print Using and Image were used together for formatted information display. And this piece of code seems to look like.
The D characters of Image lines correspond to digits of values passed for printing.
...
Francois Weil
14, rue Douer
F64100 Bayonne
[/quote]
========
Thank you PB, thank you fweil.
Someone of you maibe remember wath's mean the X char?
Is used always in the formattation of printer:
e.g.
6309 PRINT USING 6310 ; P
6310 IMAGE " OVEN DRY PRODUCTTION P; "XXXXXXX,DDDD,X," kgFIBR./h/m"
I was thinkin' that's for decimal? It's right or is just to sign places?
Wath you think?
Thank's a lot, again
PaoloE
PaoloE
... (20 years ago and more) where Print Using and Image were used together for formatted information display. And this piece of code seems to look like.
The D characters of Image lines correspond to digits of values passed for printing.
...
Francois Weil
14, rue Douer
F64100 Bayonne
[/quote]
========
Thank you PB, thank you fweil.
Someone of you maibe remember wath's mean the X char?
Is used always in the formattation of printer:
e.g.
6309 PRINT USING 6310 ; P
6310 IMAGE " OVEN DRY PRODUCTTION P; "XXXXXXX,DDDD,X," kgFIBR./h/m"
I was thinkin' that's for decimal? It's right or is just to sign places?
Wath you think?
Thank's a lot, again
PaoloE
PaoloE
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Hellraiser.
Thank you PB, thank you fweil.
Someone of you maibe remember wath's mean the X char?
Is used always in the formattation of printer:
e.g.
6309 PRINT USING 6310 ; P
6310 IMAGE " OVEN DRY PRODUCTTION P; "XXXXXXX,DDDD,X," kgFIBR./h/m"
I was thinkin' that's for decimal? It's right or is just to sign places?
Wath you think?
Thank's a lot, again
PaoloE
PaoloE
[/quote]
========... (20 years ago and more) where Print Using and Image were used together for formatted information display. And this piece of code seems to look like.
The D characters of Image lines correspond to digits of values passed for printing.
...
Francois Weil
14, rue Douer
F64100 Bayonne
Thank you PB, thank you fweil.
Someone of you maibe remember wath's mean the X char?
Is used always in the formattation of printer:
e.g.
6309 PRINT USING 6310 ; P
6310 IMAGE " OVEN DRY PRODUCTTION P; "XXXXXXX,DDDD,X," kgFIBR./h/m"
I was thinkin' that's for decimal? It's right or is just to sign places?
Wath you think?
Thank's a lot, again
PaoloE
PaoloE
[/quote]
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Hellraiser.
take a look at this Site.
http://www.hp-eloquence.com/doc/html/ma ... EADING90-0
Hope this helps
Hellraiser
take a look at this Site.
http://www.hp-eloquence.com/doc/html/ma ... EADING90-0
Hope this helps
Hellraiser