English
Forum

open a File

 

Detlef
Tussing
How can I at Programmaufruf with indicated of Parameters

Relais.exe Relais1-1.dat

declare myvar$
case %parcount : myvar$=val(par$(1))

The Variable myvar$ benefit circa in the program a File to open.

in example
Assign #1,myvar$ myvar$ ought to then Relais1-1.dat his
 
Gruß Detlef Tussing
Windows XP, XProfan 10
03/15/07  
 




Jörg
Sellmeyer
1. Why is myvar$ = Val(Par$(1))? Par$(x) is a String and You need indeed a String - whom Filenames Relais1-1.dat.
2. Relais1-1.dat must itself in the equal Ordner How the program find or with komplettem way indicated go.
It's all right too DatenRelais1-1.dat if data one Unterordner the Program is.
3. You must myvar$ not quotation marks settle.
4. with Par$(1) functions it naturally only in the finished Exe.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/15/07  
 




Detlef
Tussing
The function VAL was too much

but my eigentlicher Error were The

thanks for your Help
 
Gruß Detlef Tussing
Windows XP, XProfan 10
03/15/07  
 




Jörg
Sellmeyer
lovely, here under Votings are You incidentally in the incorrect section debarked. for ask simply a Thread in the Forum open. The Button New in the Mainpage lead you directly to that Forum for Profanfragen.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/15/07  
 



Topic watts moved.
 
03/15/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.516 Views

Untitledvor 0 min.
Detlef Jagolski01/17/11

Themeninformationen



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