Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Makecode Function with output variables?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Makecode Function with output variables?

by V2man on Sat Nov 09, 2019 5:15 pm

This is more what I had in mind for a function where you can specify input variables:

ADDSUB_FUNCTION.JPG
ADDSUB_FUNCTION.JPG (55.53 KiB) Viewed 159 times


Is there a way to specify the output of a function in a similar way other than use a set a variable statement?
Like the inputs, output variables would have bubbles where you could make assignments without having to use external set assignment statements.
Is it common practice to use input variables with a function?

V2man
 
Posts: 704
Joined: Mon Dec 03, 2018 12:38 am

Please be positive and constructive with your questions and comments.