
http://www.purebasic.fr/english/viewtop ... sc&start=0
Le bleme c'est qu'il faut apparement configurer le compilateur d'une certaine maniere et j'ai rien compris.
J'ose pas lui demander, car j'ai peur que la barriere de la langue ne donne une reponse encore plus compliqué que la question

Alors que faut il ecrire ou cocher et à que endroit.
Enfin un mode d'emplois un peu plus complet quoi

Il dit :
Create an exe from this source, configure it as mentioned above. Remember the double quotes around "%COMPILEFILE", choose "Before Compile/Run" and "Wait until tool quits".
Code : Tout sélectionner
; Very simple preprocessor for line continuations
; netmaestro December 2007
; More sophistication needed, starting point only
Global NewList line$()
For i=0 To CountProgramParameters()-1
path$ + ProgramParameter(i)
Next
If ReadFile(0, path$)
concat = #False
While Not Eof(0)
linein$ = RTrim(ReadString(0))
If concat
If FindString(linein$, "&_" , 1)
concat = #True
linein$ = Trim(Left(linein$, FindString(linein$, "&_",1)-1))+" "
Else
concat = #False
EndIf
line$() = line$() + LTrim(linein$)
Else
If FindString(linein$, "&_" , 1)
concat = #True
linein$ = RTrim(Left(linein$, FindString(linein$, "&_",1)-1))+" "
Else
concat = #False
EndIf
AddElement(line$())
line$() = linein$
EndIf
Wend
CloseFile(0)
If CreateFile(1, path$)
ForEach line$()
WriteStringN(1, line$())
Next
CloseFile(1)
EndIf
EndIf
Code : Tout sélectionner
For i &_
= 1 &_
To 5
Debug i
Next
r.d = 100/10 + &_
200/5 + &_
3
Debug "I am " + &_
Str(r) + &_
" years old"
mystring.s = "The rain &_
in spain &_
falls mainly &_
on the plain"
Debug mystring
Code : Tout sélectionner
For i = 1 To 5
Debug i
Next
r.d = 100/10 + 200/5 + 3
Debug "I am " + Str(r) + " years old"
mystring.s = "The rain in spain falls mainly on the plain"
Debug mystring