1

Comment on fait pour lire le contenu d'un programme basic qui à été compilé pas le système ?

2

qui a été tokenisé, tu veux dire ?
ma fois... c'est plutôt cho :sad
Kevin pourra peut-être t'aider, mais je doute que bcp d'autre que lui sache gd chose dessus sad
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

3

4

ah ben oui après tout sad
j'ay avais po pensé sad

Petite question à mon tour grin) : une fois détokenisé, il se lit comme un fichier texte ?
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

5

Tu peux aussi utiliser http://tigcc.ticalc.org/doc/estack.html#display_statements qui te renvoit une chaine de caracteres smile

6

Il y a aussi : http://tigcc.ticalc.org/doc/estack.html#Parse1DExpr
Bref il y a le choix.

7

OK. merci
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

8

OK, ben je vais essayer tout ça ,merci

9

Quand on a le handle du fichier detokenisé comment on fait pour obtenir le string associé ?

10

En fait ma question précédente est idiote.
Si j'utilise "display_statements" comment je fais pour associer un stack pointer au programme?
Et si ce programme n'était pas tokenisé comment réagie "display_statement" ?

11

le pb c ke tu pe pa detokénise un prgm en cours d'execution....
bon je c , la t en C donc il y a tres peux de chance ke le prgm basic ke tu veuille lire soit en cours d'execution , mais pense a verifier, sinon tu aura un jolie bug...

sinon, c pour koi? tu ve la commentrairr du prgm? si c juste pour ca, je c la lire sans detokenisé le prgm, ta ka me demander....
Ancien pseudo : lolo

12

Pphd> Ouah!!! plein d'URL du site de TIGCC tu te Kevin Koflerises
avatar

13

J'ai essayé ça mais ça n'a pas marché

h=SymFindPtr($(image), 4)->handle;

handle=NG_RPNToText(h,1,1);

printf_xy (0, 40, "%s", HeapDeref (handle));

free(handle); sadsadsad


Pourquoi?

14

bouhbou sadsadsad
ya personne qui veut me repndre?

15

image c'est un fichier comment ?
Si c'est ne image, ca ne marchera pas. (JE ne sais pas, c'est bizarre comme nom pour un prog nasic).
[edit]Edité par PpHd le 12-04-2002 à 12:13:00[/edit]

16

oui ct un exemple, en fait c un de mes prog. en basic.

17

Essaye plutot avec display-statement.

18

Mais si j'utilise display statement comment je fait pour obtenir le pointeur ptr vers le string tokenisé?

19

HToESI(handle)
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité