Timeline for Output the first position in your program for each input character
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 24, 2023 at 11:22 | comment | added | Bartosz Jabłoński | /* 5 */ For example in 4GL you can't write your own function, but you can use one created in FCMP. You can create function in IML (it's called a module) abut you can't use it in 4GL, but you can embed 4GL code inside IML code... | |
May 24, 2023 at 11:06 | comment | added | Bartosz Jabłoński | Dialects: SAS language is in fact a whole group of programming languages dialects. Starting with: 4GL, Macrolanguage, IML (for matrices), FCMP (for functions), DS2 (alternative to some part of 4GL), SCL (for graphic interface of DMS), SQL (2 separate proprietary implementations), CAS-L, etc... All of those can be considered as "separate" dialects and can work on it's own, but the most productivity you get if you start to mix/interleave them. The most "global" is macrolanguage which it a code generating language (e.g. you write macro code which writes 4GL code for you). | |
May 24, 2023 at 11:06 | comment | added | Bartosz Jabłoński |
/* 3 */ 3) execution by command line: .../sas.exe ./myCode.sas allows to add text string parameter which can be used as macrovariable in the script, but of curse other 3 interfaces can't do it. So the programming practice is: "use one of 4 standard ways of passing data".
|
|
May 24, 2023 at 11:06 | comment | added | Bartosz Jabłoński |
/* 2 */ Some of those have possibility to get "interactive" input, but each of them do it differently and method for one does not work for others. For example: 1) in DMS you can use Windows statement or %windows macrostatement which allows you to write code (from scratch) of "interactive pop3-up window", but those are not available for other 3 interfaces. 2) in EG you can (from the interface level) force pop-up prompt asking for a macrovariable value, but the prompt is assigned to code file, and of course other 3 interfaces can't use it.
|
|
May 24, 2023 at 11:05 | comment | added | Bartosz Jabłoński | /* 1 */ SAS is tool/language dedicated to data processing. Mainly in tabular form (but not exclusively). For SAS 4GL in general there are 4 standard ways of passing data: 1) by SAS dataset, 2) by text file (also "inline" inside your code), 3) by a macrovariable, or 4) hardcoding in data step. There are 4 standard interfaces through which you can execute code in SAS: a) DMS - SAS Display Manager, b) EG - SAS Enterprise Guide, c) SAS Studio, or d) in command line. | |
May 24, 2023 at 11:04 | comment | added | Bartosz Jabłoński | It's much more complex then it seems... I will split my answer in several comments since there is not enough characters in the comment box. | |
May 24, 2023 at 4:20 | comment | added | Sanchises | Is there any way SAS can take input or define a function? As it stands, hard-coding the input still does not confirm to the rules. | |
May 23, 2023 at 22:16 | history | edited | Bartosz Jabłoński | CC BY-SA 4.0 |
new solution
|
May 23, 2023 at 21:05 | comment | added | Bartosz Jabłoński | Ok, will update the answer. | |
May 23, 2023 at 20:59 | comment | added | noodle person | Your submission must be either a function or a full-program, not just a snippet, meaning it cannot just assume variables are defined. Also, for quine challenges, the main part of the challenge is getting the program’s own source code without using any external sources like reading the file or having it already defined. | |
May 23, 2023 at 20:43 | history | answered | Bartosz Jabłoński | CC BY-SA 4.0 |