Is this a bug or a feature?

new topic     » topic index » view thread      » older message » newer message

Trawling through the tickets has brought up some interesting, and likely long forgotten stuff, but I think I may have found another issue.

--minimal goto test 
include std/console.e  
include std/graphics.e  
  
clear_screen()  
 
goto "Current_test" 
 
puts(1, "Started.....\n") 
 
include std/os.e  
 
label "Current_test"          --label not found 
 
puts(1, "Ended.....\n") 
 
--minimal goto test 
include std/console.e  
include std/graphics.e  
  
clear_screen()  
 
goto "Current_test" 
 
puts(1, "Started.....\n") 
 
label "Current_test"            --this is ok 
 
include std/os.e  
 
puts(1, "Ended.....\n") 
 

The solution is to put all your includes at the beginnng of the program. Barely worth a ticket.

By the way, has anyone ever come up with this error?

D:\EuProgramming\Euphoria4_1\Programs\Tests\position_test.eui:23 
wtf 
display("Hello starts at line [], column []",p1) 
     ^ 

Which was one of the first errors when I started looking at this. In this context, what does wtf mean?

-)

Chris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu