Project

General

Profile

Bug #8

Right$()=, Left$()= and Mid$()= Causing compiler to hang, leaving process running.

Added by Anonymous over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Target version:
Start date:
01/17/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

As tiltle, =Right$(), =Left$(), =Mid$() work fine.

#1

Updated by Baptiste Pillot over 4 years ago

  • Affected version set to 0.9.2.5
#2

Updated by Baptiste Pillot over 4 years ago

  • Target version changed from 0.9.2.5 to 0.9.2.6
#3

Updated by Francois Lionet over 4 years ago

  • Status changed from New to Resolved
  • Target version changed from 0.9.2.6 to 0.9.3

Fixed!

#4

Updated by Francois Lionet over 4 years ago

Fixed!

#5

Updated by Baptiste Pillot about 4 years ago

Could you give me a piece of code and the awaited result, for validating by testing ?

#6

Updated by Francois Lionet about 4 years ago

  • Target version changed from 0.9.3 to 0.9.5

Hop!

#manifest:"pc"
#fullScreen:false
#fps:false
#splashScreen:false

A$ = "Hello AMOS"
Right$( A$, 4 ) = "AOZ "
Print A$

A$ = "Hello AMOS"
Left$( A$, 7 ) = "Goodbye"
Print A$

A$ = "Hello AMOS"
Mid$( A$, 7, 18 ) = "AOZ, see you later aligator!"
Print A$

But there was a crash in the compiler if you used Left$ or Right$ with THREE parameters... Fixed.

#7

Updated by Francois Lionet about 4 years ago

EDIT (spaces were removed by Redmine)

#manifest:"pc"
#fullScreen:false
#fps:false
#splashScreen:false

A$ = "Hello AMOS"
Right$( A$, 4 ) = "AOZ "
Print A$

A$ = "Hello . AMOS"
Left$( A$, 7 ) = "Goodbye"
Print A$

A$ = "Hello .. . . . . . . . . AMOS"
Mid$( A$, 7, 18 ) = "AOZ, see you later aligator!"
Print A$
#8

Updated by Baptiste Pillot about 4 years ago

Tu write AOZ code into Redmine :

  • one blank line
  • one line with 3 back-quotes followed by AOZ
  • lines with your code
  • one line with 3 back-quotes alones
  • one blank line

With it you won't lose spaces.
Follow this link for real example on how to add code into markdown : https://aozmine.25.re/help/fr/wiki_syntax_markdown.html

#9

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed

Result for #8#note-7 is :

Hello AOZ
Goodbye AMOS
Hello AOZ, see you later AMOS

It works.

Also available in: Atom PDF