1

dans mon prog, j'ai besoin de travailler sur une variable, sans qu'elle soit modifiée...
Bon, je m'explique plus clairement : il faut que je créer une VAR twin d'une variable, pour pouvoir modifier cette variable twin. (et l'effacer après). Naturellement, la variable de départ (celle dont j'ai fait un twin) de doit pas être modifiée...

Qd la var de départ est en mem d'archive, pas de pb : j'utilises EM_twinSymFromExtMem...
Mais, qd la var de départ est en RAM, j'y arrive pas : j'utilise SymAddTwin, et ça va pas.
(une fois que la var twin est créée, je dois obtenir un pointeur de type SYM_ENTRY pour bosser dessus).

En gros, est-ce que quelqu'un saurait comment on fait pour créer une variable twin d'une variable en RAM ?

(je crois que, si on utilise SymAddTwin, il faut "remplir" manuellement la var obtenue, mais comment ?)

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

2

archive la var puis désarchive-la après tongue
[edit]Edité par Vark-Dador le 08-09-2001 à 12:23:42[/edit]
*** Ne sous-estimez pas la puissance de la Marmotte ***
© Marmotte Team : LaMarmotte, sBibi, Vark & sabrina

3

arf... c'est vrai, ça marche : j'avais essayé en faisant comme ça...
Seulement, ça ralentit beacoup trop le programme :
Il faut que ça soit pas trop lent (il s'agit d'afficher une image sur un écran virtuel, en même temps, en gros, que le srolling)... et j'ai besoin d'une var twin pour pouvoir la dézipper sans avoir à la rezipper (ce qui ralentirait aussi le prog).
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

4

Arf... y'a personne qui pourrait m'aider, parce que j'y arrive pas....
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

Pour voir comment remplir manuellement une variable, regarde les sources de XtraKeys. (C'est dans la partie installation.) Mais c'est de l'assembleur.
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é

6

arf... ça va être chaud...
mais je v essayer...
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

7

arf... j'y arrive pas trop....
la galère...
y'a pas quelqu'un qui sait en C ?
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