English
Source / code snippets

Backslashes within Variable double

 

CB
Hello again,

have yet something for general public:
circa through

SHELL Variable$

one Program started to, had to I The Backslashes inside the Variable double. moreover have I this Progrämmchen develops. this is probably one Musterbeispiel for, how something on itself Simple possible umständlich solve can, but Hauptsache, it functions what about me have it with eigenem Bordwerkzeug self gebastelt...

Sincerely,
Christian

 
XProfan 8/9.1, Win XP, AMD 64/3200
12/19/04  
 




Frank
Abbing
Hi,

~!~ using in Filenames simply always the / as Separator instead of the .
functions just as well and and one needed no umständlichen Doppelzeichen. human!
 
12/19/04  
 




CB
Hello Frank,

thanks for good hint, mere if you zB after a Registry-request a way zurückgeliefert get, has the nunmal only Backslashes. with my Progrämmchen could one with a morsel of Tuning but too in / Change or whatever...

Sincerely,
Christian
 
XProfan 8/9.1, Win XP, AMD 64/3200
12/19/04  
 




Frank
Abbing
Hi,

No!
If you a String a API or anything else back erhälst, must You no double Backslash insert. only, if You directly in your Sourcecode Text using, circa so a String To describe, is the necessary!
Nimm simply always /, then fits the already!
 
12/19/04  
 



its so the only the Compiler undertow. Escapesequenzen umwandelt. These procedure use myself circa these To Remove - for because drop that I on a Own File-procedure one Filename commit:
CompileMarkSeparation
proc ?_name.unescape

    parameters s$
    casenot (right$(s$,1) == "") : s$:=s$+""
    s$:=translate$(s$,"z","\z")
    s$:=translate$(s$,"","\b")
    s$:=translate$(s$,"a","\a")
    s$:=translate$(s$,"	","\t")
    s$:=translate$(s$,"
    ","\n")
    s$:=translate$(s$,"q","\q")
    s$:=translate$(s$,chr$(92)+chr$(92),chr$(92))
    s$:=del$(s$,len(s$)-1,2)
    return s$

12/19/04  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.245 Views

Untitledvor 0 min.
E.T.06/12/23
RudiB.09/17/22
Boroberto04/30/16
Michaeal02/17/15

Themeninformationen

this Topic has 3 subscriber:

Frank Abbing (2x)
CB (2x)
unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie