Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/14/2019 in all areas

  1. Following this thread and this thread, I thought I'd write a complementary function to allow the user to operate on numbers inside text. Example: ;;;¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,;;; ;;;ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,¤º°`°º¤;;; ;; ;; ;; ;; ;; --=={ Text Math }==-- ;; ;; ;; ;; The program will allow the user to perform mathematical operations on Text, ;; ;; MText, Dimensions & Attributes containing numerical data. ;; ;; ;; ;; The user is prompted to select an operation (Addition, Subtraction, ;; ;; Division & Multiplication); and an operand. The user is then prompted to ;; ;; make a selection of objects to modify. ;; ;; ;; ;; If a non-commutative operation is chosen, the user will be prompted to ;; ;; specify the order of operation. ;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;; FUNCTION SYNTAX: TextMath / TMA ;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;; AUTHOR: ;; ;; ;; ;; Copyright © Lee McDonnell, April 2010. All Rights Reserved. ;; ;; ;; ;; { Contact: Lee Mac @ TheSwamp.org, CADTutor.net } ;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;; VERSION: ;; ;; ;; ;; ø 1.0 ~¤~ 9th April 2010 ~¤~ º First Release ;; ;;...............................................................................;; ;; ø 1.1 ~¤~ 11th April 2010 ~¤~ º Updated to include Dimensions. ;; ;; º Updated ParseNumbers function. ;; ;;...............................................................................;; ;; ;; ;;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=;; ;; ;; ;;;¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,;;; ;;;ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,¤º°`°º¤;;; Be careful when using with MText that contains nested formatting, comments are welcome. Lee --=={ Code Updated to Version 1.1 }==-- TextMath V1.1.lsp
    1 point
×
×
  • Create New...