02 April 2017, 23:28 | #1 |
Registered User
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
|
Why doesn't this work?
Code:
A$="abcde" For I=1 To Len(A$) N=Asc(Mid$,I,1) Inc N Mid$(A$,I,1)=Str$(N) Next I Print A$ "bcdef" but I get either Type Mismatch (at line 3) or Syntax error if I space the lines out with blank lines. Is it my logic which is wrong, or is this a bug? TIA V1 |
03 April 2017, 00:50 | #2 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Your syntax is wrong. I'll leave it to you to compare line 3 with line 5.
|
03 April 2017, 15:18 | #3 |
Registered User
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
|
Cheers, for the life of me I couldn't see it lastnight, as soon as I read your reply it seemed so obvious.
Thanks again |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FS-UAE doesn't work | EUX | support.FS-UAE | 3 | 09 February 2017 17:56 |
0-9 filter doesn't work well | Another World | HOL data problems | 14 | 01 December 2008 15:48 |
Entity doesn't work | Another World | support.Games | 10 | 14 May 2007 11:49 |
Flashback doesn't work ???!!!! | Another World | support.Games | 8 | 27 April 2007 21:32 |
Mouse doesn't work | MainVoid | support.WinFellow | 10 | 22 April 2005 19:26 |
|
|