Project

General

Profile

Bug #281

Creating a Procedure with a Return Value

Added by Baptiste Pillot about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
03/01/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Some examples in documentation Procedures.pdf do not work :

This one works

HELLO["aa"]

Procedure HELLO[a$]
  Print "Hello, I am a procedure ! " + a$
End Proc

But this one, with a return value, does not :

Print HELLO["one"]

Procedure HELLO[a$]
  Print a$
End Proc[a$+a$]

main.aoz:1:12: error: Syntax error


Files

3.5._Procedures.pdf (82.3 KB) 3.5._Procedures.pdf AOZ Procedures documentation. Brian Flanagan, 03/07/2020 06:33 AM

Also available in: Atom PDF