English
Forum

Assign/Rewrite

 
- Page 1 -



Walter
have the following trouble:
FreeProfan32 Runtime 0.9.0.7
Error rewrite: 0102 - Dateinummer is none File with Assign zugeordnet
be me but none guilt deliberate...
Declare IO%
Assign #2,"Test.txt"
IO%=%IOResult

If IO%>0

    Messagebox("Datei can't opened go: " + st$(IO%), "FM1",0)

endif

Rewrite #2
IO%=%IOResult

If IO%>0

    Messagebox("Datei can't written go: " + st$(IO%), "FM2",0)

endif

Close #2

yields even: IOResult 0102
Why liegt's?
 
01/12/16  
 



« this Posting watts as Solution marked. »


RGH
Yes, it inputted Completed: ASSIGN, the but in the actually Download for either versions fixed is!

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/16/16  
 




Jörg
Sellmeyer
have you got evtl no Schreibrechte, if You none concrete Speicherort angibst?
the here runs (under X3 - XP) free from problems through.
Def Desktop(0) ReadIni$("Hkey_1","Software\Microsoft\windows\CurrentVersion\Explorer\Shell Folders","Desktop")
print Desktop()
Declare IO%
Assign #2,Desktop() + "\\Test.txt"
IO%=%IOResult
print io%

If IO%>0

    Messagebox("Datei can't opened go: " + st$(IO%), "FM1",0)

endif

Rewrite #2
IO%=%IOResult

If IO%>0

    Messagebox("Datei can't written go: " + st$(IO%), "FM2",0)

endif

print io%
Close #2
Waitinput
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/12/16  
 




RudiB.
having too ähnliches trouble.....compiliert and as exe runs it !

lying well on Freeprofan / Runtime..
 
FreeProfan
Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
01/12/16  
 



Hm.

with FreeProfan on XP no trouble obiger code,
I sustain The File and runs through.
 
01/12/16  
 



[OFFTOPIC]have the Topic first to go there  [...]  moved.[/OFFTOPIC]
 
01/12/16  
 




Walter
cordial Thanks for Your Help!
objectively runs The exe  free from problems through - its accordingly evident one Interpreter-trouble (0.9.0.57), and not How irrtümlich described one the Runtime.
still if the Compilat runs, is it for me too right!
thanks
 
01/12/16  
 



apparently there but really a problem with the Interpreter,
by me comes too The Error Message. I pack it time to the bow-Reports.
 
01/12/16  
 




RGH
Yes, it inputted Completed: ASSIGN, the but in the actually Download for either versions fixed is!

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/16/16  
 




Walter
super, thanks!
 
01/16/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

12.884 Views

Untitledvor 0 min.
macuto07/08/21
p.specht05/28/20
Lefty10/23/19
Walter02/21/19
More...

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