In the chart at 3:48 -- lindex, lrange, linsert, lreplace: at very least we should say 'characters' instead of 'character', to avoid confusion with a type of a single character, which Tcl does not have (they are just strings of 1 char) but so many other languages do. Probably isn't it better to just put the word 'string' in the description instead of 'character'? Nice video, just mentioning for people who work in many languages, a char is almost more like an int than a string to them. Also, various string subcommands actually DO return or take a character, which happens to be a string of length 1 because that is how tcl handles single chars.
@jvsnyc4 ай бұрын
Some other things if this is the main way some people are learning the Tcl string commands. What you show for 'string match' you can actually get from 'string equal' cheaper: string equal ?-nocase? ?-length length? string1 string2 Even there, we have extra power, you can only look at the first length chars for the comparison, and you can decide whether to wOrRy aBOuT cAse or not. 'string match' in Tcl is even more powerful than that, tho, for fancier things you can use regex, but this is very easy to learn, remember and use: See if pattern matches string; return 1 if it does, 0 if it does not. If -nocase is specified, then the pattern attempts to match against the string in a case insensitive manner. For the two strings to match, their contents must be identical except that the following special sequences may appear in pattern: * Matches any sequence of characters in string, including a null string. ? Matches any single character in string. [chars] Matches any character in the set given by chars. If a sequence of the form x-y appears in chars, then any character between x and y, inclusive, will match. When used with -nocase, the end points of the range are converted to lower case first. Whereas {[A-z]} matches “_” when matching case-sensitively (since “_” falls between the “Z” and “a”), with -nocase this is considered like {[A-Za-z]} (and probably what was meant in the first place). \x Matches the single character x. This provides a way of avoiding the special interpretation of the characters *?[]\ in pattern.
@RisingVLSI4 ай бұрын
You may like to look into more details:- onlinelibrary.wiley.com/doi/book/10.1002/9781119837442
@jvsnyc4 ай бұрын
This is pretty minor, but could confuse beginners. Tcl is case sensitive, so only "string" is recognized, not "String". So, when we cut-and-paste a command and PowerPoint or Word or whatever Capitalizes the s to 'String' that might confuse beginners if they type it that way. I am often in my day going back and correcting improper Capitals to Lowercase by hand, so I guess 'string tolower $myString' is pretty useful.
@RisingVLSI4 ай бұрын
Yes, 'string tolower $myString' will be useful if there is already a string defined.
@jvsnyc4 ай бұрын
Very good. The trim, trimright, trimleft can remove any number of different chars from your string, not just a single particular one. The value you pass it is a string, but any character found in it will be removed.
@RisingVLSI4 ай бұрын
Nice observation. Thanks for your insight
@behroozkarami98325 ай бұрын
very helpful, thanks very much!
@monkeyssj510 ай бұрын
Hello, this is very necessary series. So Thank you for it. But unfortunately the audio is very low in this video. Again. Thank you for making this series.
@asr3934 Жыл бұрын
but still, after watching this vdo, i am not be able to convert a number into decimal in tcl, while am able to do convert a number into octal and hexa. When am using [format %b $a]>>>tcl showing bad field specifier "b". what should I do? to convert a number into decimal in tcl.??
@Rishavkumar-w3v Жыл бұрын
hi sir are more videos avaialble in paid version or only the course is completed
@RisingVLSI Жыл бұрын
Thankful for liking my content, I covered learning for beginners. If you require a few specific topics, tell me about. I will happily develop content.
@Azzubhai047 Жыл бұрын
Volume very low sir
@kavitham7764 Жыл бұрын
Hi sir, Thanks for your video. Please let me know can we able to run this command in replit ? I tried widget in replit but I am getting invalid command. Could you please me on this
@RisingVLSI Жыл бұрын
Sorry Dear, I haven't work with Replit
@rohanyadala9096 Жыл бұрын
Super...
@rohanyadala9096 Жыл бұрын
Very nice 👌
@User--jm5916 Жыл бұрын
Can you explain foreach_in_collection, what's the difference between foreach and foreach_in_collection
@nishamali346 Жыл бұрын
why don"t u add some classes about cadence innovas and synopsis.?...if you do so that could be more helpful....
@RisingVLSI Жыл бұрын
Hello Nisham, thankful for your appreciation. You have encourage me a lot. Soon you will find video based on Cadence tool.
@nishamali346 Жыл бұрын
very helpful
@kaggagopi92502 жыл бұрын
Nice explanation sir before that I don't know the difference between the double quotes and curly braces. after seeing your video i can get the answer.
@RisingVLSI2 жыл бұрын
It's my pleasure
@brindhas40232 жыл бұрын
Sir , please post for sequential circuits
@RisingVLSI2 жыл бұрын
Very Soon , I will add new videos
@brindhas40232 жыл бұрын
Thank you sir
@brindhas40232 жыл бұрын
Thank you sir
@Manster-minds2 жыл бұрын
Hii i am facing with an issue in file operation can u help me with it..??
@RisingVLSI2 жыл бұрын
I can try
@anjikavadi48002 жыл бұрын
sir i need your help pls
@RisingVLSI2 жыл бұрын
Describe your problem
@AmirKhan-hn9kx2 жыл бұрын
good lecture....stay tuned 👍🏻
@voktho04792 жыл бұрын
Please speak louder,
@rohanyadala90962 жыл бұрын
Excellent....
@athikaperumal63983 жыл бұрын
hlo sir i m a student i want to know one problem solution find the duplicate elements in the array and its count kindly please help sir
@vaishuvaishu57433 жыл бұрын
Very good and funny videos bring a great sense of entertainment!
@User--jm59163 жыл бұрын
Sir in this video, which version of tcl is used
@RisingVLSI3 жыл бұрын
8.6
@User--jm59163 жыл бұрын
@@RisingVLSI ok thanks for your reply sir, please post more videos on tcl scripting
@s13000263 жыл бұрын
Why is the Tclk = 500ps ?
@amaramar79213 жыл бұрын
TCL script to swap a set of charccter in two string?
@User--jm59163 жыл бұрын
Can you please increase your voice in video, it is very helpful video thanks for rhia
@RisingVLSI3 жыл бұрын
Ok next time
@anupsamanta29433 жыл бұрын
nice sir..
@anupsamanta29433 жыл бұрын
very useful and informative Sir ... i appreciate it...
@User--jm59163 жыл бұрын
How can I edit the existing tcl file can please tell
@RisingVLSI3 жыл бұрын
Write program in notepad save with extension .tcl , Here file would be editable
@User--jm59163 жыл бұрын
@@RisingVLSI how is it editable, can u please tell the procedure sir, by opening the tcl file is it editable
Sir how to print only warnings from a given data.log file
@hardeepsingh-kw8pi3 жыл бұрын
Good explanation bro..Keep it up...
@hardeepsingh-kw8pi3 жыл бұрын
Nice explanation..Keep it up
@neelutiwari23833 жыл бұрын
How to find pattern and replace pattern using Tcl
@RisingVLSI3 жыл бұрын
string match and string replace
@neelutiwari23833 жыл бұрын
Thank you sir Can you provide brief introduction aur any link from where I can understand it more clearly
@RisingVLSI3 жыл бұрын
@@neelutiwari2383 Welch, B. B., Jones, K., & Hobbs, J. (2003). Practical Programming in Tcl/Tk. Prentice Hall Professional.
@NaveenKumar-es2js4 жыл бұрын
Nice video and great tutorial 👍
@SANTOSHMAHARANAMCD4 жыл бұрын
nice ! what is the future scope after learning this?
@RisingVLSI4 жыл бұрын
TCL is used for developing or integrating with existing tool. All the existing tool support the tcl integration Find the detailed below www.activestate.com/wp-content/uploads/2018/10/white-paper-tcl-7-reasons-future-is-bright.pdf
@santoshmaharana40204 жыл бұрын
@@RisingVLSI thank you for explaining! Can you please tell any good ide for TCL like VScode?
@RisingVLSI4 жыл бұрын
You can find it www.activestate.com/products/tcl/downloads/
@amanagrawal36884 жыл бұрын
can u please share this software by google link or etc, from link in video, it shows version issue, new version is not like in ur video. please mail to [email protected]
@RisingVLSI4 жыл бұрын
Follow the video link given below kzbin.info/www/bejne/onSzqaV8e6iVfKM
@sniperbhaigaming14964 жыл бұрын
Simply Superb Sir..Make more videos on TK (tool kit)..
@sniperbhaigaming14964 жыл бұрын
Hi Sir. This is sekhar.. i was your student from lpu. Currently working as a Physical design Engineer. I am so happy to see you that you are sharing knowledge on TCL scripting. please continue to make more videos on Tcl and Start PERL Script as well.
@RisingVLSI4 жыл бұрын
Very Good Shekhar, Nice to see our student , Designing Physical Layout. Scripting has equally importance in VLSI and soon will include PERL
@sharathchandra.20874 жыл бұрын
Well explained
@nagaprasadgr59984 жыл бұрын
Keyword to check data type in TCL...? (in python we have "type()" keyword to check data type)
@RisingVLSI4 жыл бұрын
Primitive data type is string
@nagaprasadgr59984 жыл бұрын
Hi, Thanks for the tutorial. What are the commands in tcl to find max and min numbers in list and also for negative indexing.
@RisingVLSI4 жыл бұрын
I haven't found direct command. However u can use this program to find max set x {12 2 5 4 2 6 7 55 8 9 6 4} set max 1 foreach i $x { if {$i > $max} { set max $i } else { set max $max } } puts "Max=$max"