This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
SuperBASIC
Watch
1
Star
0
Fork
0
Code
Issues
23
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Simplify the implemented functions
master
Ludovic 'Archivist' Lagouardette
3 years ago
parent
a7d410dfe5
commit
c62a19a605
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Functions/Multiply.cs
+1
-1
Functions/Print.cs
+ 1
- 1
Functions/Multiply.cs
View File
@ -8,7 +8,7 @@ namespace SuperBASIC.Functions
{
float
IFunction
.
Apply
(
List
<
BasicNumber
>
arguments
)
{
return
arguments
[
0
]
.
GetValue
(
)
*
arguments
[
1
]
.
GetValue
(
)
;
return
arguments
[
0
]
*
arguments
[
1
]
;
}
}
}
+ 1
- 1
Functions/Print.cs
View File
@ -8,7 +8,7 @@ namespace SuperBASIC.Functions
{
float
IFunction
.
Apply
(
List
<
BasicNumber
>
arguments
)
{
Console
.
WriteLine
(
arguments
[
0
]
.
GetValue
(
)
)
;
Console
.
WriteLine
(
arguments
[
0
]
)
;
return
0f
;
}
}
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save