Hi,
I am not 100% sure what the intent of the code is but I re-wrote it a little and it displays the “usage” string wen the “ex” variable is 0 and doesn’t display anything otherwise.
Local res,temp,str,nheader,temp2,head,dhead,svar,usage
Request "Ex? ",ex
usage:="- le nom de la fonction à dériver (souvent f ou g)- la variable de la fonction à dériver (souvent x ou t)- l'expression de la fonction à dériver"
If string(ex)="0" Then
Disp usage
EndIf
The “Request” command is to test the code. I imagine it wouldn’t be needed in your main program.
Is this helpful?
Regards,
- Harshal
From: tins...@googlegroups.com <tins...@googlegroups.com>
On Behalf Of j4e8a16n
Sent: Sunday, March 2, 2025 3:43 AM
To: tinspire <tins...@googlegroups.com>
Subject: [EXTERNAL] [tinspire] Syntax error
Ti complains about that: Local res,temp,str,nheader,temp2,head,dhead,svar,usage string(usage) = "- le nom de la fonction à dériver (souvent f ou g)- la variable de la fonction à dériver (souvent x ou t)- l'expression de la fonction à dériver"
ZjQcmQRYFpfptBannerStart
|
ZjQcmQRYFpfptBannerEnd
--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to
tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
tinspire+u...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/tinspire/c3abd93a-4e0b-4a8d-90c2-f5b16f6dea19n%40googlegroups.com.