Search
 
SCRIPT & CODE EXAMPLE
 

LISP

lisp input

; the function AreaOfCircle
; calculates area of a circle
; when the radius is input from keyboard

(defun AreaOfCircle()
(terpri)
(princ "Enter Radius: ")
(setq radius (read))
(setq area (* 3.1416 radius radius))
(princ "Area: ")
(write area))
(AreaOfCircle)
Comment

PREVIOUS NEXT
Code Example
Lisp :: elisp return type 
Lisp :: common lisp map number to word 
Erlang :: get erlang version 
Assembly :: using shape property in flutter for circular corner 
Assembly :: sqlalchemy filter date today 
Assembly :: regex find a word index of all matches 
Assembly :: vba check if shape name exists 
Assembly :: Discord bot name of person being tagged 
Assembly :: import svg in google slides 
Assembly :: tqdm iterate over range 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: js redirect to url new tab 
Javascript :: jquery set attribute readonly 
Javascript :: a href confirm javascript 
Javascript :: ajax cdn 
Javascript :: js replace space with underscore 
Javascript :: jquery check if element exists 
Javascript :: npm update all packages 
Javascript :: Finished. Please run Mix again. 
Javascript :: how to start json server in particular port 
Javascript :: allow paste js code 
Javascript :: angular validators number only in reactive form 
Javascript :: javacsript update text in span 
Javascript :: java sleep 1 sec 
Javascript :: regex pattern for positive numbers only 
Javascript :: hide header react navigation 
Javascript :: react navigation no header 
Javascript :: how to unmount bottom tab screens 
Javascript :: jquery button remove disabled attribute 
Javascript :: format money javascript commas 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =