แสดงการใช้งาน tag blockcode

  • warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
  • warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.

บางทีการใช้งาน blockcode อาจจะไม่ตรงไปตรงมาเท่าไหร่ผมเลยจะ ขออนุญาติแสดงให้ดูครับ.

 # ใส่ code ได้เลย
def foo(bar):
    b = bar * 10
    return b

code อาจจะเขียนขึ้นมาหรือ copy มาจากที่อื่น แล้ว มา paste ทีหลังก็ได้.

ดูได้ที่ http://blog.vee-u.com/2008/02/17/blockcode/ คร้าบบบ

ขอบคุณมากค่ะ
ทำได้แล้วค่ะ

veer's picture

ดีๆ
---
http://blog.vee-u.com/

ย้าย Codenone

ประกาศย้าย Codenone ไปใช้ Forum ของ Blognone แทนครับ ตามไปตั้งกระทู้ต่อได้ที่ Codenone Forum (รายละเอียดอ่านจากกระทู้ ย้าย Codenone ไปรวมกับ Blognone)

กระทู้เก่าๆ จะย้ายตามไปในภายหลัง ตอนนี้ปิดการโพสต์กระทู้ไว้ เหลือไว้เฉพาะอ้างอิงเท่านั้น