Skip to content

Commit

Permalink
GOFUNC is a new BASIC keyword.
Browse files Browse the repository at this point in the history
  • Loading branch information
udhos committed Jan 31, 2019
1 parent 96dc72d commit 452ebe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Status: the compiler currently can handle very simple programs.

## Use GOFUNC to call Go function from BASIC code

GOFUNC() is a BASIC keyword introduced by the 'basgo' compiler in order to call a Go function from BASIC code.

10 result = GOFUNC("func_name", arg1, arg2, ..., argN)
20 print result

Expand Down
2 changes: 2 additions & 0 deletions gofunc/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# GOFUNC calls Go function from BASIC code

GOFUNC() is a BASIC keyword introduced by the 'basgo' compiler in order to call a Go function from BASIC code.

## Usage:

BASIC code calling Go code:
Expand Down

0 comments on commit 452ebe7

Please sign in to comment.