Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

A game I found on the internet

Name: Anonymous 2009-06-15 4:22

I found this game on some site about programming.

Create a website shopping script in a fake language. Here mine:



create checkOutStart:
    localize item
    do.math(itemCost) = @itemTotal + @itemTax
    if userCurrency(do.math) @itemCost > @userTotal
        say "Sorry. You do not have sufficient funds to make this transaction."
    else do checkOutEnd
    end;
end;

create checkOutEnd:
    say "Are you sure you want to make this transaction?" .function. "checkOutOption"
    checkOutOption(userDefine) "Yes" . "No" # Creates two links: Yes(http://site.com/shop.ext?checkout=yes), and opposite.
        if userDefine(yes)
        do transactionScript
            else return(url_referer)
    end;
end;
   
create transactionScript
    grab itemCost
    if coupons = true
    itemcost (substract(itemCost(couponAmount))) = new itemCost
    else #1# too lazy to finish script
end;

There is a lot of shit missing from it, I know. Please refer to #1.

Name: Anonymous 2009-06-15 4:29

module ShoppingScript where
import ShopLib

main = ShopLib.performShopping

Name: Anonymous 2009-06-15 4:31

why not use a real language instead?

Name: Anonymous 2009-06-15 7:34

BILL
    CONTAINS FIXED .2 TOTAL
    ADDTOBILL PRICE
        SET TOTAL SUM TOTAL PRICE
    LLIBOTDDA
LLIB
ITEM
    CONTAINS STRING NAME
    CONTAINS FIXED .2 PRICE
    PURCHASE
        TELL "THANKS FOR BUYING THIS" NAME
        ADDTOCART
        ADDTOBILL PRICE
    ESAHCRUP
METI
SHOPPINGCART
    CONTAINS ARRAY ITEM ITEMS
    CONTAINS BILL RECEIPT
    ADDTOCART X
        APPEND ITEMS X
    TRACORDDA
TRACGNIPPOHS
SESSION
    CONTAINS SHOPPINGCART CART
NOISSES

Name: Anonymous 2009-06-15 9:53

from paul_graham import [b]paul_graham[/b]
def make_shopping_site():
    apply(paul_graham, LISP, shopping_site)

Name: Anonymous 2009-06-15 10:18



from paul_graham import [b]paul_graham[/b]
    def make_shopping_site():
        eval(apply(paul_graham, LISP, shopping_site))

Name: Anonymous 2009-06-15 10:19



from paul_graham importpaul_graham
    def make_shopping_site():
        eval(apply(paul_graham, LISP, shopping_site))

Name: Anonymous 2009-06-15 10:23

from paul_graham import paul_graham
    def make_shopping_site():
        eval(`apply(paul_graham, LISP, shopping_site)')

Name: Anonymous 2009-06-15 12:47

from bbcode importbbcode_fail
    def code_tag_failure():
        eval(`apply(code_tag, bold_tag, post)')

Name: Anonymous 2009-06-15 14:12

from English import proper_spacing
    def spacing_failure():
        eval(```apply(proper_spacing, importbbcode_fail)''')

Name: Anonymous 2009-06-15 14:58

from CSS import coloured_text

Name: Anonymous 2009-06-15 15:31

>>1
Um, would kind of help to know what the site is

Name: Anonymous 2009-06-17 6:16

no

Name: Anonymous 2009-06-17 9:39

check the price of what the shopper has selected;
if he wants to checkout, check card balance and write "not enough dollas" if checkout sum is greater than the balance, else write "purchased"; afterwards update the database with changed quatity numbers

Name: Anonymous 2009-06-17 9:40

>>14
UPPER MANAGEMENT QUALITY SPEC

Name: Anonymous 2009-06-17 12:03

10 SELL ITEM
20 GOTO 10

Name: Anonymous 2009-06-17 12:09

[^_^@~]: (  ≖‿≖)
bash: ≖‿≖: command not found


(  ≖‿≖)

Name: Anonymous 2009-06-17 13:03

>>14

english for applications

Name: Anonymous 2009-07-12 3:33


 WHILE LOOP A SWITCH OR BREAK OUT OF A word on the internet and just scribble a few weeks and I CORRUPTED MY FILESYSTEM JESUS CHRIST WHAT TEH f k DID IT DO loop if f then exit  else exit .

Name: Anonymous 2009-07-12 3:41

looks like a mixture of pascal and ruby

Name: Anonymous 2010-12-09 7:21

Name: Anonymous 2011-01-31 21:11

<-- check em dubz

Name: tray 2012-03-14 23:14


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List